FROM docker.m.daocloud.io/library/openjdk:8-jre-alpine

LABEL maintainer=me
ENV JAVA_ARGS="-Dfile.encoding=UTF8 -Duser.timezone=GMT+08"
ENV JAR_FILE="eureka-service.jar"

COPY ./target/${JAR_FILE} ./

EXPOSE 8888

CMD java -jar ${JAVA_ARGS} ${JAVA_OPTS} /${JAR_FILE}

